using System;
using Volo.Abp;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
using System.ComponentModel.DataAnnotations;

namespace Business.Models
{
    /// <summary>
    /// 系统分类
    /// </summary>
    public class SystemType: AuditedAggregateRoot<Guid>, ISoftDelete, IMultiTenant
    {
        public Guid? TenantId { get; set; }
        
        /// <summary>
        /// 系统分类编号
        /// </summary>
        [Required]
        public string SystemTypeNo { get; set; }
        
        /// <summary>
        /// 系统分类名称
        /// </summary>
        [Required]
        public string SystemName { get; set; }

        /// <summary>
        /// 父级编号
        /// </summary>
        public string PNo { get; set; }


        public bool IsDeleted { get; set; }
    }
}